<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div id="app">
      <h1>{{str}}</h1>
      <h1>{{num}}</h1>
      <h1>{{num+1}}</h1>
      <h1>{{100+10}}</h1>
      <!-- <h1>{{arr}}</h1> -->

    </div>

    <script src="../js/vue.js"></script>
    <script>
      new Vue({
        el: "#app", //el(element)绑定对应容器 值
        data: {
          //值目前作为一个对象，存放状态数据
          str: "hello world ! 了解 Vue",
          num:100,
          //arr:[a,b,c,d]
          
        },
      });
    </script>
  </body>
</html>
